Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize Aws::Record #149

Merged
merged 8 commits into from
Nov 1, 2024
Merged

Modularize Aws::Record #149

merged 8 commits into from
Nov 1, 2024

Conversation

mullermp
Copy link
Contributor

  • Checks for Aws::Record before adding things
  • Fixes the tests (were previously not running)
  • General code cleanup
  • README and usage improvements

Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - overall looks good, just a few questions on areas I don't quite understand.


module AwsRecord
module Generators
class ModelGenerator < Base
# Generates an Aws::Record model and table configuration.
class ModelGenerator < Rails::Generators::NamedBase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'm still missing something - where does this get required from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's loaded automatically because of its subclass. Just like the session store generators.

test/tasks/aws_record/test_table_config.rb Show resolved Hide resolved
@mullermp mullermp merged commit 2d7e58b into main Nov 1, 2024
12 checks passed
@mullermp mullermp deleted the aws-record-refactor branch November 1, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants